package cn.kgc.myhousemputils.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liguopeng
 * @since 2020-09-16
 */
public class Room implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer houseid;

    private Integer roomsize;

    private Integer roomnow;

    private String roomname;

    private Double dayprice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHouseid() {
        return houseid;
    }

    public void setHouseid(Integer houseid) {
        this.houseid = houseid;
    }

    public Integer getRoomsize() {
        return roomsize;
    }

    public void setRoomsize(Integer roomsize) {
        this.roomsize = roomsize;
    }

    public Integer getRoomnow() {
        return roomnow;
    }

    public void setRoomnow(Integer roomnow) {
        this.roomnow = roomnow;
    }

    public String getRoomname() {
        return roomname;
    }

    public void setRoomname(String roomname) {
        this.roomname = roomname;
    }

    public Double getDayprice() {
        return dayprice;
    }

    public void setDayprice(Double dayprice) {
        this.dayprice = dayprice;
    }

    @Override
    public String toString() {
        return "Room{" +
        "id=" + id +
        ", houseid=" + houseid +
        ", roomsize=" + roomsize +
        ", roomnow=" + roomnow +
        ", roomname=" + roomname +
        ", dayprice=" + dayprice +
        "}";
    }
}
